package cn.ilikes.tools.hbase.jpa.schemas.processors;

import java.util.List;

import cn.ilikes.tools.hbase.jpa.JPAHbasePersistenUnitEnv;

public class SchemasProcessor implements ISchemasProcessor {

	private List<ISchemasProcessor> schemasProcessors;

	public SchemasProcessor(List<ISchemasProcessor> schemasProcessors) {
		super();
		this.schemasProcessors = schemasProcessors;
	}

	@Override
	public void processorTableSchemas(JPAHbasePersistenUnitEnv hbasePersistenUnitEnv) {

		for (ISchemasProcessor schemasProcessor : schemasProcessors) {
			schemasProcessor.processorTableSchemas(hbasePersistenUnitEnv);
		}
	}

}
